<ion-header>
    <ion-navbar color="primary">
        <ion-title>
            我的
        </ion-title>
    </ion-navbar>
</ion-header>
<ion-content>




    <section class="userPhoto">
        <img src="{{userinfo.usericon}}">
        <p no-margin>{{userinfo.username}}</p>
        <div><button (click)="login()" ion-button small color="danger">登 录</button></div>
    </section>
    <button class="cus-item" ion-item>
        <ion-icon name="ios-happy-outline" item-left></ion-icon>
        个人信息
    </button>
    <section class="mt-small">
        <button *ngIf="userinfo.phone" ion-item class="cus-item">
            <ion-icon name="ios-leaf-outline" item-left></ion-icon>
            我的留言
        </button>
        <button ion-item class="cus-item">
            <ion-icon name="ios-leaf-outline" item-left></ion-icon>
            结算说明
        </button>

    <button (click)="learn()" ion-item class="cus-item">
        <ion-icon name="ios-bookmark-outline" item-left></ion-icon>
        联系人(sticky指令)
    </button>

        <button ion-item class="cus-item">
            <ion-icon name="ios-bookmark-outline" item-left></ion-icon>
            帮助
        </button>
        <button (click)="about()" ion-item class="cus-item">
            <ion-icon name="ios-help-circle-outline" item-left></ion-icon>
            关于
        </button>
    </section>
    <ion-item *ngIf="userinfo.isLogin" (click)="logout()" class="mt-small logout-btn">退出登录</ion-item>

</ion-content>

<a style="">

</a>